Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix statemanager empty code bug #3483

Merged
merged 28 commits into from
Jul 4, 2024
Merged

Conversation

jochem-brouwer
Copy link
Member

@jochem-brouwer jochem-brouwer commented Jul 4, 2024

This PR fixes a bug in StateManager where empty code is put on an account which already has code. This did not modifyAccountFields before, which invalidates the cache.

Note: built on top of 7702 see #3470.

acolytec3
acolytec3 previously approved these changes Jul 4, 2024
Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Base automatically changed from eip7702 to master July 4, 2024 19:44
@holgerd77 holgerd77 dismissed acolytec3’s stale review July 4, 2024 19:44

The base branch was changed.

@jochem-brouwer
Copy link
Member Author

Re-approve and merge? 😄

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holgerd77
Copy link
Member

There are still so many commits shown in this PR, is this normal? 🤔

@holgerd77
Copy link
Member

Shouldn't these go away once the base changes?

@holgerd77 holgerd77 merged commit 3171920 into master Jul 4, 2024
34 checks passed
@holgerd77
Copy link
Member

Ok, I'll do it. Should hopefully be ok, changes shown also only show the small diff set.

@holgerd77 holgerd77 deleted the fix-statemanager-empty-code-bug branch July 4, 2024 19:57
@jochem-brouwer
Copy link
Member Author

Sorry, missed those comments. Squash and merge should do it in the end right? Maybe when I merged 7702 into this one it might have messed up the git commit history 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants